package com.itheima.neibulei4;

import java.io.OutputStreamWriter;

public class Demo01 {
    public static void main(String[] args) {

        Outer outer = new Outer();
        outer.sing();
    }

}
class Outer{
    int k=20;
    public void sing(){
        long start = System.currentTimeMillis();
        int  j=20;
        System.out.println(j);
        j=20;
        class  Inner{
            int i=10;
            public void dance(){

                System.out.println("跳");
            }
        }
        Inner inner = new Inner();
        System.out.println(inner.i);
        inner.dance();
        long end = System.currentTimeMillis();
        System.out.println("方法运行了"+(end-start)+"毫秒");
    }
    public void rap() {

    }

}
